package com.ecity.ui 
{
	import flash.display.GradientType;
	import flash.display.Sprite;
	import flash.geom.Matrix;
	
	/**
	 * ...
	 * @author Yicheng.Zhang
	 */
	public class ShiningBorder extends Sprite{
		
		public function ShiningBorder(width:int,height:int,colors:Array,alphas:Array,ratios:Array,matrix:Matrix) {
			this.graphics.beginGradientFill(GradientType.LINEAR, colors, alphas, ratios,matrix);
			this.graphics.drawRect(0, 0, width, height);
			this.graphics.endFill();
		}
		
	}

}